﻿////using System;
////using System.Collections.Generic;
////using System.Linq;
////using System.Text;
////using Microsoft.Xna.Framework;
////using Microsoft.Xna.Framework.Audio;
////using Microsoft.Xna.Framework.Content;
////using Microsoft.Xna.Framework.GamerServices;
////using Microsoft.Xna.Framework.Graphics;
////using Microsoft.Xna.Framework.Input;
////using Microsoft.Xna.Framework.Media;
////using TomShane.Neoforce.Controls;

////namespace SpaceInvade
////{
////    class Bullet
////    {
////        int X, Y, Width, Height; //Position and size of the Bullet
////        int XVel, YVel; //X and Y velocity
////        int DamageValue; //the amount of health that is taken away from a ship when the bullet collides with it
////        Texture2D BulletImage;
////        bool IsDead; //if the bullet has hit something or has exited the screen, set to true to remove from list

////        public Bullet(int x, int y, int width, int height, int xVel, int yVel, int damage, Image img)
////        {
////            this.X = x;
////            this.Y = y;
////            this.Width = width;
////            this.Height = height;

////            this.XVel = xVel;
////            this.YVel = yVel;
////            this.DamageValue = damage;
////            this.BulletImage = img;

////            this.IsDead = false;
////        }

////        public void Update()
////        {
////            //move the bullet by the x and y velocities
////            this.X += this.XVel;
////            this.Y += this.YVel;
////        }

////        public void Draw(ContentManager content)
////        {
////            BulletImage = content.Load<Texture2D>(@"");
////            //draw the bullet's image, rotated if necessary
////        }

////        public Rectangle GetBoundingBox()
////        {
////            return new Rectangle(this.X, this.Y, this.Width, this.Height);
////        }

////        public bool CollidesWithShip(Ships theShip)
////        {
////            //if the bullet collides with a ship, return true
////            if (this.GetBoundingBox().CollidesWith(theShip.GetBoundingBox()))
////            {
////                return true;
////            }
////            else
////            {
////                return false;
////            }
////        }

////        //getters and setters of IsDead
////        public bool GetIsDead()
////        {
////            return this.IsDead;
////        }
////        public void SetIsDead(bool isDead)
////        {
////            this.IsDead = isDead;
////        }
////    }
////}
